Import the Xend portion of xen-unstable changeset 11704:a95dfbc8dca8ecddcb9be51d78f44...
authorEwan Mellor <ewan@xensource.com>
Thu, 5 Oct 2006 13:53:29 +0000 (14:53 +0100)
committerEwan Mellor <ewan@xensource.com>
Thu, 5 Oct 2006 13:53:29 +0000 (14:53 +0100)
commit83e445d75e349bd41a0aec3f78a87b72460f1572
treed6d3665ab2f981c7ac99239f28aefce13f1a0de7
parent87779442e97accbce9a74aef69a478734a1f864b
Import the Xend portion of xen-unstable changeset 11704:a95dfbc8dca8ecddcb9be51d78f446b0fa461892.

[HVM/vncserver] Implement a 'vnclisten' option to limit the interface
that the VNC server from qemu listens on.

Defaults to only listen on 127.0.0.1

The old behaviour (listen on all interfaces) can be restored, by
- changing the system-wide default in /etc/xen/xend-config.sxp by adding:
(vnc-listen '0.0.0.0')
- changing individual domain config files by adding:
vnclisten="0.0.0.0"

Also allows specifying the hostname associated with an interface to limit
to that interface.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
tools/python/xen/xend/XendRoot.py
tools/python/xen/xend/image.py
tools/python/xen/xm/create.py